public with sharing class newschool {
public String  message{get;set;}

NewSchool__c school;


 public NewSchool__c getSchool() {
 school=new NewSchool__c(); 
  return school;
}

public PageReference addStu() {

 Database.insert(school);
 message ='添加成功';
 return null;
}
}